﻿using System.Collections.Generic;

namespace HBKY.Shop.Model
{
    /// <summary>
    /// 通用分页信息类
    /// </summary>
    public class PageList<T>
    {
        /// <summary>
        /// 总数
        /// </summary>
        public int TotalCount { get; set; }
       
        /// <summary>
        /// 每页显示多少条
        /// </summary>
        public int PageSize { get; set; }

        /// <summary>
        /// 总页数
        /// </summary>
        public int PageCount { get; set; }

        /// <summary>
        /// 返回数据
        /// </summary>
        public IEnumerable<T> Data { get; set; }

    }
}